@import "../../../styles/vars";
.organize{
  padding-left: 50px;
  .ant-timeline-item{
    min-height: 50px;
  }
  &-add{
    position: absolute;
    left: 200px;
    top: -5px;
    display: none;
    margin-left: 10px;
    height: 30px;
    .button-default
  }
  .organize-main:hover .organize-add{
    display: inline-block;
  }
  &-main{
    width: 300px;
    p{
      margin-bottom: 5px;
      span{
        padding: 2px 4px;
        border-radius: 4px;
        color: white;
        font-size: 12px;
        background: #e2392e;
      }
    }
    input{
      width: 200px;
      height: 30px;
    }
    button{
      top: 28px;
      left: 250px;
    }
  }
  &-line{
    padding-left: 30px;
    margin-top: 10px;
  }
  &-sub{
    padding-left: 60px;
    input{
      width: 200px;
      height: 30px;
    }
    &-input{
      position: relative;
      left: -20px;
      max-width: 300px;
      &:hover>.organize-add{
        display: inline-block;
      }
      input{
        margin-top: -4px;
      }
      &-line{
        position: absolute;
        top:9px;
        left: -58px;
        height: 2px;
        background: white;
        width: 40px;
        span{
          position: absolute;
          top:-2px;
          right: -3px;
          display: inline-block;
          width: 6px;
          height: 6px;
          border-radius: 3px;
          background: white;
        }
      }
    }
    &-action{
      display: inline-block;
      margin-top: 10px;
      padding-left: 20px;
      color: #34cbf9;
      font-size: 16px;
      cursor: pointer;
    }
    .ant-timeline{
      padding-left: 25px;
      margin-top: 10px;
    }
  }
  .ant-timeline-item-last>.ant-timeline-item-tail{
    border-left: 2px solid #e9e9e9;
    display: none!important;
  }
  .ant-timeline-item-last .ant-timeline-item-tail{
    border-left: 2px solid #e9e9e9;
    display: block;
  }
}
.organize-modal{
  position: absolute;
  right: 20px;
  bottom: 20px;
  top: 20px;
  width: 900px;
  background: white;
  border-radius: 5px;
  z-index: 3;
}
.organize-setting{
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.44);
  z-index: 2;
  &-content{
    .organize-modal;
    h4{
      padding: 15px;
      font-size: 14px;
      span{
        cursor: pointer;
        color: #000;
        i{
          padding-right: 5px;
        }
        &:last-child{
          float: right;
          color: #e2e2e2;
        }
      }
    }
  }
  &-title{
    position: relative;
    padding: 0 15px;
    height: 60px;
    line-height: 60px;
    background: #e2e2e2;
    &-name{
      font-size: 20px;
      color: #c5c5c5;
      cursor: pointer;
      width: 300px;
      i{
        padding-left: 5px;
      }
    }
    &-input{
      display: inline-block;
      input{
        width: 240px;
        height: 36px;
      }
    }
    &-action{
      position: absolute;
      top: 0;
      right: 15px;
      font-size: 16px;
      color: #3781ff;
      cursor: pointer;
      i{
        padding-left: 5px;
      }
    }
  }
  &-manager{
    height: 195px;
    padding: 38px 0 27px 0;
    margin: 0 15px;
    border-bottom: 1px solid #e1e1e1;
    ul{
      width: 100%;
      height: 100%;
      li{
        height: 100%;
        float: left;
        &:first-child{
          width: 107px;
          border-right: 1px solid #e1e1e1;
          text-align: center;
          img{
            display: block;
            margin: 0 auto;
          }
          button{
            width: 80px;
            height: 32px;
            .button-default
          }
          p{
            margin: 10px 0;
            color: #a0a0a0;
            font-size: 14px;
          }
          h5{
            font-size: 16px;
            color: #5c5c5c;
          }
        }
        &:last-child{
          width: 763px;
          padding-left: 25px;
          font-size: 14px;
          color: #c6c6c6;
        }
      }
    }
  }
  &-names{
    display: flex;
    div{
      min-width: 60px;
      text-align: center;
      cursor: pointer;
      div{
        position: relative;
        display: inline-block;
        width: 60px;
        height: 60px;
        margin: 10px 40px 10px 0;
        line-height: 60px;
        border-radius: 30px;
        font-size: 16px;
        .button-default;
        span{
          position: absolute;
          top: 0;
          right: 0;
          display: inline-block;
          width: 14px;
          height: 14px;
          border-radius: 7px;
          color: white;
          font-size: 12px;
          line-height: 12px;
        }
        span.admin{
          background: #c62f2f;
          &:hover{
            width: 16px;
            height: 16px;
            line-height: 13px;
          }
        }
        span.person{
          background: #00b295;
          line-height: 15px;
        }
      }
      p{
        padding-right: 40px;
      }
    }
  }
  &-people{
    margin: 0 15px;
    padding-top: 25px;
    ul{
      width: 100%;
      height: 100%;
      display: flex;
      li{
        &:first-child{
          width: 107px;
          border-right: 1px solid #e1e1e1;
          font-size: 14px;
          color: #5c5c5c;
          text-align: center;
          p{
            margin: 10px 0;
            color: #a0a0a0;
            font-size: 14px;
          }
          h5{
            font-size: 16px;
            color: #5c5c5c;
          }
          button{
            width: 80px;
            height: 32px;
            margin-bottom: 20px;
            .button-default;
            &.add-all{
              .button-yellow;
            }
          }
        }
        &:last-child{
          width: 763px;
          padding-left: 25px;
          font-size: 14px;
          color: #c6c6c6;
        }
      }
    }
  }
}
.organize-setting-people-action {
  margin-bottom: 15px;
  span{
    font-size: 14px;
    color: #c5c5c5;
    padding-left: 10px;
  }
  .editing{
    width: 610px;
    display: inline-block;
    padding-left: 30px;
    span.edit{
      float: right;
      margin-left: 20px;
      cursor: pointer;
      color: @base-color;
    }
    span.del{
      float: right;
      margin-left: 20px;
      cursor: pointer;
      color: @red-color;
    }
  }
  .ant-select{
    width: 120px;
    height: 35px;
    .ant-select-selection{
      height: 35px;
    }
    .ant-select-selection__rendered{
      line-height: 32px;
    }
  }
}
.organize-addPerson{
  z-index: 3;
  background: #f8f9f8;
  h4{
    height: 60px;
    line-height: 60px;
    padding: 0 25px;
    color: #c5c5c5;
    font-size: 16px;
    span{
      cursor: pointer;
    }
    button{
      float: right;
      margin-top: 10px;
      width: 105px;
      height: 38px;
      .button-default
    }
  }
  h5{
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    padding: 0 25px;
    color: #5c5c5c;
    background: white;
    span{
      font-size: 14px;
      color: #3772ff;
      cursor: pointer;
      &:first-child{
        text-decoration: underline;
      }
      &:last-child{
        float: right;
        color: #00b295;
      }
    }
  }
  &-list{
    padding: 0 20px;
    .ant-row{
      background: white;
      margin-top: 8px;
      .ant-select{
        min-width: 100%;
      }
      div.ant-col-3,
      div.ant-col-4 {
        padding: 0 10px;
        text-align: center;
        .anticon{
          cursor: pointer;
          font-size: 18px;
        }
        .anticon-check-square-o{
          color:@base-color;
        }
        .anticon-close-square-o{
          margin-left: 10px;
          color: #c6c6c6;
        }
        .anticon-delete{
          color: @red-color;
        }
      }
    }
    .ant-row:first-child{
      font-size: 14px;
      color: #a0a0a0;
      div.ant-col-3,
      div.ant-col-4 {
        height: 60px;
        line-height: 60px;
        text-align: center;
      }
    }
  }
  &-desc{
    margin-top: 15px;
    padding: 0 20px;
    color: #c6c6c6;
    font-size: 14px;
  }
}
.organize-editPerson{
  z-index: 4;
  .ant-form-item{
    margin: 0;
  }
  .ant-form-explain{
    display: none;
  }
}
.organize-addAdmin{
  z-index: 5;
  &-filter{
    padding: 0 25px;
    input{
      width: 280px;
      height: 38px;
      border-radius: 19px;
    }
  }
  &-list{
    padding: 0 25px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    div{
      min-width: 120px;
      min-height: 80px;
      margin-right: 20px;
      margin-top: 20px;
      border-radius: 10px;
      padding: 15px;
      background: white;
      border:1px solid #dfdfdf;
      cursor: pointer;
      &:nth-child(6n){
        margin-right: 0;
      }
      p{
        font-size: 14px;
        color: #c6c6c6;
        &:first-child{
          font-size: 18px;
          color: #5c5c5c;
        }
      }
    }
    div.active{
      background:@base-color;
      p{
        color: white!important;
      }
    }
  }
}
.organize-addNoAssess{
  z-index: 5;
}